package com.ruoyi.order.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class AddressVo extends BaseEntity {
    private String nickname;
    @Excel(name = "用户ID", readConverterExp = "外=键，关联user表")
    private Long userId;

    private Long id;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String receiver;

    /** 收货人电话 */
    @Excel(name = "收货人电话")
    private String phone;

    /** 省份 */
    @Excel(name = "国家")
    private String country;

    private String state;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    private String code;

    /** 区/县 */
    @Excel(name = "街道")
    private String street;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detail;

    /** 是否默认地址(0否，1是） */
    @Excel(name = "是否默认地址(0否，1是）")
    private Long isDefault;

    private Date createTime;

    private Date updateTime;
}
